package www.bancodelanacion.intranet.prestamos.service;

import java.sql.SQLException;
import java.util.ArrayList;

import www.bancodelanacion.intranet.prestamos.entidad.ClienteDTO;
//service
public interface ClienteService {
	public abstract int insertaCliente(ClienteDTO bean) throws SQLException;
	public abstract int actualizaCliente(ClienteDTO bean) throws SQLException;
	public abstract int eliminaCliente(String codigo) throws SQLException;
	public abstract ClienteDTO buscaCliente(String idProducto) throws SQLException;
	public abstract boolean buscaDuplicado(String razon,String ruc) throws SQLException;
			public abstract ArrayList<ClienteDTO> listarCliente()throws SQLException ;
			public abstract String codigogen();
			ClienteDTO obtenerClienteDAO(String codigo)throws SQLException;
	ArrayList<ClienteDTO> buscarCliente(String codigo,String nombre,String ruc)throws SQLException;
}
